package com.zhuiyun.educations.api.newCourse.mapper;

import com.zhuiyun.educations.api.newCourse.entity.CourseUnit;
import com.zhuiyun.educations.common.mapper.BaseMapper;
import com.zhuiyun.educations.common.response.CommonResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @ClassName CourseUnitMapper
 * @Description TODO 课程章节持久层
 * @Author 杨友朋
 * @Date 2023/6/28 16:54
 **/
@Mapper
public interface CourseUnitMapper extends BaseMapper<CourseUnit> {
    @Update("update course_unit set del_flag=1 where id=#{id}")
    Integer delUnitById(Integer id);
}
